The LDAP Search Handler supports ldap searching of attributes and roles.
There is use of LDAPSearchConfig.
scope : base, one, subtree
searchBase: DN where we need to start searching. Eg: "ou=Roles,dc=jboss,dc=org"
searchAttributes: a string array that represents which attributes need to be returned via searching.
searchFilterExpression: an expression that can include injectable parameters via the filter args.
filterArgs: An object array to pass values to the search filter expression substitution.